package com.soft.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 实体：敏感词（表 sensitive_word）
 * 描述：用于评论等文本的敏感词过滤与开关控制。
 */
@TableName("sensitive_word")
public class SensitiveWord {
     // 主键，自增
    @TableId(type = IdType.AUTO)
    private Integer wordId;
    
     // 敏感词内容
    private String word;
    
     // 状态：active/inactive
    private String status; // active/inactive
    
     // 创建者用户 ID
    private Integer creatorId;
    
     // 创建时间
    private LocalDateTime createTime;
    
     // 更新时间
    private LocalDateTime updateTime;

    public Integer getWordId() {
        return wordId;
    }

    public void setWordId(Integer wordId) {
        this.wordId = wordId;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }



    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Integer creatorId) {
        this.creatorId = creatorId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
}